Class symantec.itools.awt.TransparencyTrickUtils
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class symantec.itools.awt.TransparencyTrickUtils

Object
   |
   +----symantec.itools.awt.TransparencyTrickUtils

public class TransparencyTrickUtils
extends Object
Note: TransparencyTrickUtils is deprecated. This is no longer used or supported as of JDK 1.1 since the new JDK allows "Lightweight" components which are "Transparent" in nature by default. This class implements a painting method that is used to simulate transparent Components. If you use this class you also need to implement TransparencyTrick. Otherwise visually intersecting your Component with another Component that uses these routines will result in a lock up.

Version:
1.1, July 14, 1997
Author:
Symantec

Method Index

 o paintComponent(Component, Component, Rectangle, Graphics)
 o paintComponentsBehind(Component, Graphics)

Methods

 o paintComponent
public static void paintComponent(Component drawingComponent,
                                  Component intersectingComponent,
                                  Rectangle myBounds,
                                  Graphics g)
Note: paintComponent() is deprecated. This is no longer used or supported as of JDK 1.1 since the new JDK allows "Lightweight" components which are "Transparent" in nature by default. This method paints one component that intersects with the invisible component. It is a utility routine called by paintComponentsBehind().

Parameters:
drawingComponent - the invisible component "being drawn"
intersectingComponent - the component that intersects the drawingComponent
myBounds - the bounds of the invisible component
g - the graphics context to use for drawing
See Also:
paintComponentsBehind
 o paintComponentsBehind
public static void paintComponentsBehind(Component drawingComponent,
                                         Graphics g)
Note: paintComponentsBehind() is deprecated. This is no longer used or supported as of JDK 1.1 since the new JDK allows "Lightweight" components which are "Transparent" in nature by default. This method implements the painting of transparent components. It does this by painting the component's parent and all the other components that intersect with the invisible component.

Parameters:
drawingComponent - the invisible component "being drawn"
g - the graphics context to use for drawing

All Packages  Class Hierarchy  This Package  Previous  Next  Index